<form name="form" method="post" action="{$modal.href}" class="nyroModal">
{t assignTo=title}Alias{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
    <table class="listTable">
        <tr class="noLine">
            {if $hasValues}
            <td style="width: 20px;">{t assignTo=help}Target - Define here the targeted document.{/t}{icon name="help.png" class="toolTip" title=$help}</td>
            <td>{t}Target{/t} :</td>
            <td>
				<select name="form[target]">
                    {foreach from=$list item=doc}
                        <option value="{$doc.value}" {if $doc.disabled}disabled="disabled"{/if}{if $doc.selected} selected="selected"{/if} >{$doc.label}</option>
                    {/foreach}
				</select>
            </td>
            {else}
            <td style="text-align: center;">
            {icon name="warning.png"} {t}No document to alias can be found.{/t}
            </td>
            {/if}
        </tr>
    </table>
</div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>
